function EditAssistant(entryId) {
	this.entryId = entryId;
}

EditAssistant.prototype.setup = function() {
	Mojo.Log.error("entryId: " + this.entryId);
	
	// Setup the description text field widget.
	this.descriptionAttributes = {
		hintText: $L("Business Name or Description"),
		multiline: false,
		enterSubmits: false,
		autoFocus: true,
		textCase: Mojo.Widget.steModeTitleCase,
		focusMode: Mojo.Widget.focusSelectMode
	}
	
	this.descriptionModel = {
		value: ""
	}
	
	this.controller.setupWidget("description", this.descriptionAttributes, this.descriptionModel);
	
	// Setup the location text field widget.
	this.locationAttributes = {
		hintText: $L("Business Location"),
		multiline: false,
		enterSubmits: false,
		textCase: Mojo.Widget.steModeTitleCase,
		focusMode: Mojo.Widget.focusSelectMode
	}
	
	this.locationModel = {
		value: ""
	}
	
	this.controller.setupWidget("location", this.locationAttributes, this.locationModel);
	
	// Setup the phone number text field widget.
	this.phoneAttributes = {
		hintText: $L("Phone Number"),
		multiline: false,
		enterSubmits: false,
		modifierState: Mojo.Widget.numLock,
		focusMode: Mojo.Widget.focusSelectMode
	
	}
	
	this.phoneModel = {
		value: ""
	}
	
	this.controller.setupWidget("phone", this.phoneAttributes, this.phoneModel);
};

EditAssistant.prototype.activate = function(event) {
};

EditAssistant.prototype.deactivate = function(event) {
};

EditAssistant.prototype.cleanup = function(event) {
};
